package cn.oms.email.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("notify_esb_record")
@ApiModel(value="NotifyEsbRecord对象", description="")
public class NotifyEsbRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "通知名称")
    @TableField("NOTIFY_NAME")
    private String notifyName;

    @ApiModelProperty(value = "通知类型（0普通通知，1系统通知、2更新公告）")
    @TableField("NOTIFY_TYPE")
    private Integer notifyType;

    @ApiModelProperty(value = "通知标题")
    @TableField("NOTIFY_TITLE")
    private String notifyTitle;

    @ApiModelProperty(value = "通知内容")
    @TableField("NOTIFY_CONTENT")
    private String notifyContent;

    @ApiModelProperty(value = "通知发件人ID（对应用户表）(改为使用用户名称)")
    @TableField("CREATE_MAN_ID")
    private String createManId;

    @ApiModelProperty(value = "通知发件人名称")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "创建时间（用于用户通知表）")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
